﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="main.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="../scripts/jquery-1.6.2.min.js"></script>
   <style>
   a
   {
       	font-family: "宋体";
	font-size: 12px;
	line-height: 30px;
	color: #666666;
	background-repeat: no-repeat;
	background-position: 25px;
	text-indent: 40px;
	cursor:pointer;
	text-decoration:none;
   }
   </style>
   <script>

       var url = location.search;
       var Request = new Object();
       if (url.indexOf("?") == -1) {
           //初始化展现菜单
           //alert("1")
       }
       else {
           var str = url.substring(1);
           strs = str.split('=');
           // strs[1]  一级菜单ID


       }

       function shAndhi(groups) {
           var put = $("table[group='" + groups + "']").attr("put");
           if (put == "true") {
               $("table[group='" + groups + "']").slideUp(50);
               $("table[group='" + groups + "']").attr("put", "false");
           }
           else {
               $("table[group='" + groups + "']").slideDown(50);
               $("table[group='" + groups + "']").attr("put", "true");
           }

       }

       function onmuover(e) {

           e.className = "ontext4";

       }
       function onmouoout(e) {
           $("td[puts='false']").removeClass('ontext4').addClass('notext4');
       }
       function oncli(e) {
           $("td[groups='tds']").removeClass('ontext4').addClass('notext4');
           $("td[groups='tds']").attr("puts", "false");
           e.className = "ontext4";
           $(e).attr("puts", "true");
       }


   </script>
</head>

<body>
<table width="181" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="177" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td  height="26" class="text2" style="background:url(images/left.gif) no-repeat">网站后台</td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td height="29" style="background:url(images/left2.gif) no-repeat; cursor:pointer;" onclick="shAndhi('td2')"><table width="177" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="text3">新闻录入</td>
          </tr>
                    
        </table></td>
      </tr>
      <tr>
      <td>
            <table  group="td2" put="true" width="177" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="notext4" groups="tds" puts="false" onclick="oncli(this)"  onmouseover="onmuover(this)" onmouseout="onmouoout(this)"><a href="addNews.htm" target="mainFrame">新闻录入</a></td>
          </tr>

        </table>
      </td>
      </tr>
    </table></td>
  </tr>

  <tr>
    <td valign="bottom"><table width="181" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="bottom">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
